package net.zschech.gwt.chat.client.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * game detailed move log
 * 
 * @author ray huang
 * 
 */
public class GameMove implements Serializable {

  private static final long serialVersionUID = 1L;
  private Color color;
 
private long moveId;
  /**
   * the gamer who initiate the move
   */
  private long gamer;

  /**
   * the exact time that he moves
   */
  private Date moveDate;

  /**
   * the exact x coordinate
   */
  private int moveX;

  /**
   * the exact y coordinate
   */
  private int moveY;

  public long getMoveId() {
    return moveId;
  }

  public void setMoveId(long moveId) {
    this.moveId = moveId;
  }

  public long getGamer() {
    return gamer;
  }

  public void setGamer(long gamer) {
    this.gamer = gamer;
  }

  public Date getMoveDate() {
    return moveDate;
  }

  public void setMoveDate(Date moveDate) {
    this.moveDate = moveDate;
  }

  public int getMoveX() {
    return moveX;
  }

  public void setMoveX(int moveX) {
    this.moveX = moveX;
  }

  public int getMoveY() {
    return moveY;
  }

  public void setMoveY(int moveY) {
    this.moveY = moveY;
  }
  public Color getColor() {
		return color;
	}

	public void setColor(Color color) {
		this.color = color;
	}


}
